<template>
	<view class="indexContainer">
		<view class="indexItem" @click="go('/pages/ocr-img/ocr-img')">
			自定义拍照
		</view>
		<view class="indexItem" @click="go('/pages/ocr-video/ocr-video')">
			自定义录像
		</view>
		<view class="indexItem" @click="go('/pages/ocr-samc/ocr-samc')">
			自定义识别
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			go(path) {
				uni.navigateTo({
					url: path
				})
			}
		}
	}
</script>

<style lang="less" scoped>
	.indexContainer {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		padding: 24rpx;
		background-color: #F5F5F5;
		min-height: 100vh;

		// 白色背景、阴影、简约
		.indexItem {
			width: 100%;
			background-color: #FFFFFF;
			box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
			border-radius: 10rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			margin-bottom: 24rpx;
			font-size: 32rpx;
			font-weight: 500;
			color: #333333;
			box-sizing: border-box;
			padding: 48rpx;
		}
	}
</style>